package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 收款单具体项目表
 * </p>
 *
 * @author LX
 * @since 2018-09-28
 */
@TableName("erp_receivables_al")
public class ErpReceivablesAl extends Model<ErpReceivablesAl> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer pid;
    /**
     * 日期
     */
    private String dt;
    /**
     * 分支机构
     */
    private String branch;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 收款单号
     */
    private String reFormId;
    /**
     * 发票号
     */
    private String inFormId;
    /**
     * 科目
     */
    private String object;
    /**
     * 单号
     */
    private String formId;
    /**
     * 车牌号
     */
    private String carplate;
    /**
     * 服务内容
     */
    private String content;
    /**
     * 总价
     */
    private Double totalPrice;
    /**
     * 已开金额
     */
    private Double alPrice;
    /**
     * 已开金额
     */
    private Double bePrice;
    /**
     * 状态
     */
    private String statu;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getDt() {
        return dt;
    }

    public void setDt(String dt) {
        this.dt = dt;
    }

    public String getBranch() {
        return branch;
    }

    public void setBranch(String branch) {
        this.branch = branch;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getReFormId() {
        return reFormId;
    }

    public void setReFormId(String reFormId) {
        this.reFormId = reFormId;
    }

    public String getInFormId() {
        return inFormId;
    }

    public void setInFormId(String inFormId) {
        this.inFormId = inFormId;
    }

    public String getObject() {
        return object;
    }

    public void setObject(String object) {
        this.object = object;
    }

    public String getFormId() {
        return formId;
    }

    public void setFormId(String formId) {
        this.formId = formId;
    }

    public String getCarplate() {
        return carplate;
    }

    public void setCarplate(String carplate) {
        this.carplate = carplate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Double getAlPrice() {
        return alPrice;
    }

    public void setAlPrice(Double alPrice) {
        this.alPrice = alPrice;
    }

    public Double getBePrice() {
        return bePrice;
    }

    public void setBePrice(Double bePrice) {
        this.bePrice = bePrice;
    }

    public String getStatu() {
        return statu;
    }

    public void setStatu(String statu) {
        this.statu = statu;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpReceivablesAl{" +
        ", id=" + id +
        ", pid=" + pid +
        ", dt=" + dt +
        ", branch=" + branch +
        ", customerName=" + customerName +
        ", reFormId=" + reFormId +
        ", inFormId=" + inFormId +
        ", object=" + object +
        ", formId=" + formId +
        ", carplate=" + carplate +
        ", content=" + content +
        ", totalPrice=" + totalPrice +
        ", alPrice=" + alPrice +
        ", bePrice=" + bePrice +
        ", statu=" + statu +
        "}";
    }
}
